Packetery\Module\CustomsDeclaration\Repository S

Total Complexity 34
Dependencies 6
Dependents 6
Total lines 404
Lines of code 265
Logical lines of code 65
Comment lines 95
Methods 16
Properties 2

Methods 16

Method Rating Maintainability Complexity Lines of code
save()
A
44 10 51
getByOrderNumber()
S
46 2 51
getItemsByCustomsDeclarationId()
S
61 4 14
declarationToDbArray()
S
57 2 17
saveItem()
S
60 2 15
deleteItems()
S
65 3 9
getCustomsDeclarationItemRows()
S
59 1 22
createOrAlterTable()
S
59 1 21
createOrAlterItemTable()
S
59 1 21
delete()
S
66 2 8
declarationItemToDbArray()
S
58 1 15
__construct()
S
77 1 4
getIdByOrderNumber()
S
68 1 8
deleteItem()
S
78 1 3
dropItems()
S
79 1 3
drop()
S
79 1 3